home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48_1
/
gateway_
< prev
next >
Wrap
Internet Message Format
|
1995-03-31
|
14KB
From: Erik Bryntse <erikmb@etek.chalmers.se>
Subject: v04i014: gateway_eb - Gateway codelock program v2.8 (beta), Part01/01
Newsgroups: comp.sources.hp48
Organization: Chalmers University of Technology, Gothenburg, Sweden
Followup-To: comp.sys.hp48
Approved: spell@seq.uncwil.edu
Checksum: 914719877 (verify with brik -cv)
Submitted-by: Erik Bryntse <erikmb@etek.chalmers.se>
Posting-number: Volume 4, Issue 14
Archive-name: gateway_eb/part01
BEGIN_DOC gateway.doc
Finally, a new version of the Gateway codelock program is
finished. The problems that people reported with v2.7 were
mainly:
1) Gateway crashes when you have a null-named object in the
current path.
2) Gateway will not work OK with alarms that adjust the clock.
3) I don't want to see the copyright message every time I turn my
calculator on.
4) It is difficult to know when one can press the first key of the
code, and sometimes the first key is lost.
I have fixed these problems in version 2.8, and I now release a
beta version, for final testing. If you are not afraid of a memory
lost, try it!
If it works OK, please let me know!
If you have problems with it, please send me a description of
what problems you have and when they occur. Also tell me your
calculator version and what programs you have that may cause
conflicts. Thanks!
If I don't hear of any serious problems, I will release the final
version in a few weeks.
Erik.
GATEWAY-48 Codelock Program ver 2.8 (beta)
==========================================
GATEWAY-48 is a codelock program for your HP48SX. When your HP48SX
is turned on, it displays a startup message (for example your name
and phone number) and prompts you for a 4-digit code. If you key
in the correct code, your 48 is turned on just like usual. Other-
wise it is turned off again.
With GATEWAY-48 you have complete software security and enough
hardware security to keep people from messing with your calcu-
lator. If you know how, you CAN get in without knowing the right
code, but the memory will be cleared in the process. All normal
stuff such as ON-C and ON-A-F will not work.
A lot of work has been spent on the user interface and ruggedness
of GATEWAY-48. This means that
- You can easily change the code.
- There is a built-in program to redefine the OFF key.
- You can provide a startup message like "Owned by XXYY".
- All is contained in one library, which cannot be modified.
- The code cannot be accidentally changed, since it is stored with
a checksum.
- Alarms can be disabled when the codelock is enabled (ie the 48
is turned off). They will execute as soon as the 48 is turned
back on.
- If alarms are allowed to execute when the codelock is enabled,
the calculator is turned off again after the alarm is finished.
- There is a built-in program to remove GATEWAY-48 from your 48.
INSTRUCTIONS
============
If you have something you do not wish to lose in your calculator,
make a backup, just in case... Also remove any old versions of
Gateway that you might have.
Download the string at the end of this message to your 48. Compile
it using ASC->. Store the resulting library with 0 STO. Turn off
your 48, then on again. You will see a short message when the lib-
rary installs.
Now press the LIBRARY menu key. There will now be a menu named
GATEWAY-48. In this menu you will find the following programs:
ASSIGN
------
Assigns the off key to the new off program OFFC. Turns on USER
mode.
NEWCODE
-------
Enables you to enter or change the code. Run this after installing
GATEWAY-48. The first time you run it, it will only prompt you for
the new code, but normally you must key in the old code as well.
REMOVE
------
Uninstalls the GATEWAY-48 library and clears key definitions. Also
removes the hidden code.
OFFC
----
The main code program. Turns off your 48 enabling the codelock.
When you turn it back on, you have to key in a four-digit code to
gain access to your 48. Note that it will not work if you haven't
selected a code using NEWCODE.
OWN
---
If you press this key with a string in level 1, this string will
be displayed when the calculator is turned on. If the argument is
an empty string, the default message will be displayed.
ALARM
-----
Toggles the setting of the Gateway alarm flag. If alarms are
disabled, then no alarms will be allowed to run while the
calculator is turned off. They will instead execute when the
calculator is turned on again. If alarms are enabled, they will
execute, but the 48 will be turned off immediately afterwards.
Note that this flag has no effect when the calculator is on!
ADDITIONAL INFORMATION
======================
The codelock is not activated when the HP48 turns itself off to
preserve battery.
The OFFC user key assignment is sometimes cleared by other pro-
grams or actions. Pressing the USR key once or twice (depending on
the state of flag -61) or running the ASSIGN program will restore
it.
If you use an alarm that adjusts the clock (to keep the clock
accurate) you should disable alarms with the ALARM key, otherwise
you will get unpredictable results.
The Gateway library has number 873.
The program ASC->, written by William C Wickes, has been posted
several times and is available from many FTP-sites.
I will not provide source code.
----------------------------------------------------------------
GATEWAY-48 is Copyright Erik Bryntse 1991, 1992. Non-commercial
distribution permitted. Use this program at your own risk!
----------------------------------------------------------------
This program has been tested by people with different calculator
versions and different software and hardware. Much work have been
spent on this. Thank you all who have helped me with this!
Please send bug reports, questions, or suggestions to
Erik Bryntse
SHPRF (the HP User Club of Sweden)
Box 15061
S-700 15 OREBRO
SWEDEN
erikmb@cd.chalmers.se
erikmb@etek.chalmers.se
END_DOC
DOWNLOAD FILE IN ASC-FORMAT
BEGIN_ASC gateway.asc
%%HP: T(3)A(D)F(.);
"04B20B1110A074144554751495D24383A0963E101000000ABF00126008963500
D9D20E1632521A129E20963A0084E206034341323334378BF14563284E205034
3495543597632DCC02CFA20100384E2050343495543578BF1EFE02DCC02EB3A1
29E20963E0093632B21308963400D9D20E1632041A1339202000000000003780
C741229E20963A0047A2084E206034341323334384E2050343495543584E2080
14C4D414C4C4F47584E2050F475E45425B2130EFE02041A13392010000000000
03190845223392010000000000002695D2C1218917F791339206990000000000
010E5FB1C9432D9D20E163227991CFA20100333920200000000000378078BF1E
FE02EFE0293632B21303F2A2387C1EF8918DBF193632B2130C2A20F700002020
202020274144554751495D24383A082369202542796B602242797E6473756021
3939323A0E7E7E7E7E7E7E7E7E723E28326E7E7E7E7E7E7E7E7E78963700D9D2
0E1632C2A20110007527F6E67612743A2485A1339209990000000000080F17A1
93632B21308963300D9D20E1632858A129E209636009C2A2485A1521A129E209
63A003CE2284E206034341323334378BF168BC1339201000000000000020279E
1AFE22D9D20C2A2051000F4C6460234F64656803A2485A129E209638003CE221
67E1AFE2229E20963C005BF2229E209637005DF22B21305BF22D9D208DBF129E
20963C00B21305DF22EB3A193632B2130CCD20FF0008FB97608FE316084F8F51
110808F050408AF0AF1AF2AF320134135AF320F37240A87816B432390BAE2081
3DBDA1FB010014F8088514D8F5E0103453721CA8DC75302030AD1A85CD43FD97
61090A2FD97B0090E7FE5D901C681B4CA3423000C2134D215608018F06110DAD
280116015E00EF201182824224844428884828963200D9D20E1632C9432D9D20
E163229E2096350093632B21303392010000000000031904F422339201000000
000000269472C193632B21308963900D9D20E1632218917F7913392059900000
00000010E5FB1C9432D9D20E16322799129E20963E0093632B21303F2A2387C1
EF8918DBF193632B21308963A00D9D20E1632E4A2051000EB04600000000000E
25A193632B21308963B00D9D20E1632916C147A20E4A20510000FF0000000000
000E4A20510000000000000000000B2130F76C129E20963A003CE2284E206034
341323334368BC1339201000000000000020D9AE1AFE22D9D20FD332D9D20CFA
20100384E2050343495543504B02B2130F17328DBF15BF22D9D2078BF1456328
4E2050343495543597632DCC024563284E206034341323334397632DCC02B213
05DF22B21305DF22041A133920200000000000378084412F76C129E20963E009
3632B21308963C00D9D20E1632C2A2051000E456770234F64656D13A2485A129
E20963800C2A20F000014761696E6233A2485A129E209638003CE2292CF1167E
1AFE22D9D204563284E206034341323334397632DCC02B21305BF22D9D208DBF
129E20963700B21305DF2293632B2130CCD20220001431371FBA507141135142
164808C8963100D9D20E1632521A1FD332D9D2029E20963A004563284E208014
C4D414C4C4F4759763204B02B2130F1732D9D209C2A24563284E208014C4D414
C4C4F47597632DCC02C2A201200014C41425D4350254E41424C45444B21305BF
22D9D204563284E208014C4D414C4C4F47597632EFE02C2A203200014C41425D
435024494351424C45444B21305DF22858A19C2A2485A19C2A24A5A18DBF1EB3
A193632B21308963000D9D20E16323CE2244CF14B2A2279E1AFE22D9D20C2A20
72000E456564602F677E656270237472796E676933A1B21305DF223CE2278BF1
68BC1ED2A2D9AE1AFE22D9D20C2A2012000255617579627560237472796E6769
33A1B21305DF22521A1DBBF129E20963A003CE2278BF1C2A2050000167E1AFE2
2D9D208DBF14563284E2050F475E4542597632EFE02B21305BF22D9D20456328
4E2050F475E4542597632DCC02B21305DF22EB3A193632B21308963E00D9D207
9E6084E208014C4D414C4C4F475320468DA16D9D2044230B2130D9D20CCC5629
E20963D0044230B213013593CA031FC2E479E6084E2050F475E45425320468DA
16D9D20451268DA16D9D2011920100001192070000EC4A3B213044230B2130D9
D2029E2096360011920100001192070000EC4A3B213029E20963F006AC308DA1
6D9D2029E20963900B2130D9D2079E6084E2050343495543588130C80464B2A2
81622EFE0279E6084E206014C61627D637320464423029E20963D0044230B213
0B21308963F00D9D20CCD20DC20084F8FB9760D2066C20CCD201B20084F174E7
30F068FB97607F0256061F08F51110808F200834F320077B1412132102341420
07DA14D0078AEA06DD06B802014234119208A6DE1641468082453721E2068082
130AE1A01F690A5CA6C52FA0190D7B72D1808203814AF3F37C90487A87A4C50F
2307F69136194BF5203361712391705201FB010014F8088514D8F5E010D0E48D
C75302079611FB010014F8088514D8F5E010D08DC75302071418F2D760132346
B200EA1308D2F14034000100607CE4000630BD1A85CD4CED9742054FD97B1049
F0731A096590B4760CFE5D903C681B4CA3433000C2134D215608018F06110DAD
280116015E0902000318282422484442888482131B295071421018082433200E
281B4CA1008D3C870005034349554351BBA5071461348F419E04931648F3F8E0
5008F67CE042216916C1560808A040021608F598E05BC8D0F5101B6550714613
517F17332F781534BCC1514170A3E93ECE01B2130E4A205500002AFF6D8FFF25
FFF03FF5D0FF430FF022FF6A2FF604FFF75FF6F5FFB26FF1A7FFC68FF14BFFFC
CFFE4A204D0000000000000B4000150009500036000080000000000000000000
000000000000000000000000000001600030F475E400040F46464345005014C4
1425D4100601435359474E4200602554D4F4655440070E4547534F44454300C5
00094000F30002200083000A60000ECD3F02"
END_ASC
BYTES: #20F3h 2196.5
BEGIN_UU gateway.uue
begin 644 gateway
M2%!(4#0X+45`*[`1`0I'051%5T%9+30X"FGC`0$``*#[`"$&@&E3`)TMX&$C
M):$AZ0)IHP!(+F`P-!0C,T-SN!]4-H+D`@5#0UE%4WDVTLP@_"H0`(/D`@5#
M0UE%4X?[X>\@S0SB.QJ2+I`V#I!C(RLQ@&E#`)TMX&$C0*$QDP("``````!S
M"'P4(ND"::,`="J`Y`(&0T,Q,C,T2"Y0,#24532%Y`((04Q-04Q,3U=(+E#P
M=.54)+42`_X.`A0:,RD0```````PD8!4(C,I$````````&)9+1P2F'%_&3,I
M8)D``````!#@]1N<--+9`AXV(I<9_"H0`#.3`@(``````',(A_OA[R#^#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